﻿package mortal.game.view.mainUI.zazen
{
    import Message.Public.*;
    import flash.utils.*;

    public class InviteZazenInfoTime extends Object
    {
        public var inviteInfo:SInviteZazenInfo;
        public var time:int;

        public function InviteZazenInfoTime(param1:SInviteZazenInfo)
        {
            this.inviteInfo = param1;
            this.time = getTimer();
            return;
        }// end function

        public function resetTime() : void
        {
            this.time = getTimer();
            return;
        }// end function

        public function isInEffect() : Boolean
        {
            return getTimer() - this.time < 55 * 1000;
        }// end function

    }
}
